<template>
  <div>
    <el-tree :data="building" @node-click="handleNodeClick" />
  </div>
</template>

<script>
export default {
  props: { 'building': Array },
  computed: {
  },
  mounted() {

  },
  methods: {
    handleNodeClick(data) {
      this.$emit('increment', data)
    }
  }
}
</script>

<style>
</style>
